<?php

namespace app\exception;

use think\Exception;

class ApiException extends Exception
{
    public $message = '';

    public $code = '';

    public function __construct($message, $code)
    {
        $this->message = $message;
        $this->code = $code;
    }
}